//
// Created by konglinglong on 2020/9/24.
//

#ifndef CSP_INCLUDE_OSAL_OSUDP_H_
#define CSP_INCLUDE_OSAL_OSUDP_H_

#include "commDef.h"

#ifdef __cplusplus
extern "C"
{
#endif

int32_t OS_UdpInit(int *fd);
int32_t OS_UdpFinal(int fd);
int32_t OS_UdpBind(int fd, const char* ip, uint16_t port);
int32_t OS_UdpConnect(int fd, const char* ip, uint16_t port);

#ifdef __cplusplus
}
#endif

#endif //CSP_INCLUDE_OSAL_OSUDP_H_
